package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.bookingDto;
import com.zzyl.vo.BookingVo;
import com.zzyl.vo.bookingCountVo;

import java.time.LocalDateTime;
import java.util.List;

public interface bookingService {
    /**
     * 查询当前用户当天取消预约数量
     * @return
     */
    Integer getCountData();

    void addbooking(bookingDto bookingdto);

    PageResponse<BookingVo> getPage(Integer pageNum, Integer pageSize, Integer status);

    void deletebooking(Long id);

    List<bookingCountVo> getCount(List<String> times);

    void updateBooking(Long id);

    List<bookingCountVo> getCountVo(LocalDateTime of);

    void updateStatus();
}
